package com.study;

public class XiaoMi {
    public static void main(String[] args) {
        Mobile mi = new Mobile();
        mi.brand = "小米";
        mi.color = "白色";
        mi.price = 1200.0;
        mi.setName("手机");

        System.out.println(mi.getName());
        System.out.println(mi.brand + mi);
    }
}
